package http;

import retrofit2.Call;
import retrofit2.Response;
import retrofit2.http.GET;
import retrofit2.http.POST;
import retrofit2.http.Query;
import rx.Observable;

public interface ApiService {

    @GET("getJoke")
    Call<ApiData> getJokeCall(@Query("page") int page, @Query("count") int count, @Query("type") String type);


    @GET("getJoke")
    Observable<Response<ApiData>> getJokeObservable(@Query("page") int page, @Query("count") int count, @Query("type") String type);
}